package cn.czh0123.exception;

import cn.czh0123.msg.CodeMsg;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BusinessException extends RuntimeException {

    private CodeMsg codeMsg;

    public BusinessException(CodeMsg codeMsg){
        this.codeMsg = codeMsg;
    }

}
